#ifndef __FLATPAKINSTALL__H__
#define __FLATPAKINSTALL__H__

#include "FlatpakBase.h"

class Flatpak::Install : public Flatpak::Base {

    public:
        initCommand(Install, "install");

        Install(const Install &) = default;
        Install(Install &&) = default;
        Install &operator=(const Install &) = default;
        Install &operator=(Install &&) = default;

        // --arch=
        Archs(Install)
        // --user/--system
        UserSystem(Install)
        
        // --runtime/--app
        RuntimeApp(Install)
        
        // --ostree-verbose
        OstreeVerbose(Install)

        // TODO:
        QString run() {
            Base::run();
            return FlatpakCommand::RunCommand(command, args);
        }
};

/****************************************************************
Usage:
  flatpak install [OPTION…] [LOCATION/REMOTE] [REF…] - Install applications or runtimes

Help Options:
  -h, --help               Show help options

Application Options:
  --user                   Work on the user installation
  --system                 Work on the system-wide installation (default)
  --installation=NAME      Work on a non-default system-wide installation
  --arch=ARCH              Arch to install for
  --no-pull                Don't pull, only install from local cache
  --no-deploy              Don't deploy, only download to local cache
  --no-related             Don't install related refs
  --no-deps                Don't verify/install runtime dependencies
  --no-auto-pin            Don't automatically pin explicit installs
  --no-static-deltas       Don't use static deltas
  --runtime                Look for runtime with the specified name
  --app                    Look for app with the specified name
  --bundle                 Assume LOCATION is a .flatpak single-file bundle
  --from                   Assume LOCATION is a .flatpakref application description
  --gpg-file=FILE          Check bundle signatures with GPG key from FILE (- for stdin)
  --subpath=PATH           Only install this subpath
  -y, --assumeyes          Automatically answer yes for all questions
  --reinstall              Uninstall first if already installed
  --noninteractive         Produce minimal output and don't ask questions
  --or-update              Update install if already installed
  --sideload-repo=PATH     Use this local repo for sideloads
  -v, --verbose            Show debug information, -vv for more detail
  --ostree-verbose         Show OSTree debug information
****************************************************************/

#endif  //!__FLATPAKINSTALL__H__